Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/update-report: use better wording when appropriate. #13375

Merged
merged 1 commit into from
Jun 3, 2022
Merged

cmd/update-report: use better wording when appropriate. #13375

merged 1 commit into from
Jun 3, 2022

Conversation

MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Jun 3, 2022

From reading https://github.com/orgs/Homebrew/discussions/3328: I
initially thought we should just change "Updated" to "Modified" when
appropriate. After conversation with Bo98, though, I thought more and
saw that we're already checking for outdated formulae here so, rather
than ever traverse through the formula history, look at the outdated
formula and list them unless we've set
HOMEBREW_UPDATE_REPORT_ALL_FORMULAE in which case we show the
modifications.

While we're here, also do a bit of reformatting and renaming to better
clarify intent.

@MikeMcQuaid MikeMcQuaid added the critical Critical change which should be shipped as soon as possible. label Jun 3, 2022
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

@Bo98 Bo98 enabled auto-merge June 3, 2022 15:18
@MikeMcQuaid MikeMcQuaid changed the title cmd/update-report: use e.g. "Modified Formulae" when appropriate. cmd/update-report: use better wording when appropriate. Jun 3, 2022
@MikeMcQuaid MikeMcQuaid disabled auto-merge June 3, 2022 16:35
@MikeMcQuaid MikeMcQuaid enabled auto-merge June 3, 2022 18:18
From reading https://github.com/orgs/Homebrew/discussions/3328: I
initially thought we should just change "Updated" to "Modified" when
appropriate. After conversation with Bo98, though, I thought more and
saw that we're already checking for outdated formulae here so, rather
than ever traverse through the formula history, look at the outdated
formula and list them unless we've set
`HOMEBREW_UPDATE_REPORT_ALL_FORMULAE` in which case we show the
modifications.

While we're here, also do a bit of reformatting and renaming to better
clarify intent.
@MikeMcQuaid MikeMcQuaid merged commit 05e8ed9 into Homebrew:master Jun 3, 2022
@MikeMcQuaid MikeMcQuaid deleted the modified_formulae branch June 3, 2022 18:52
@MikeMcQuaid
Copy link
Member Author

FYI @boblail hope you're happy with the various defaults and options now. If not: shout and we'll consider tweaking further. Although I didn't adopt your changes, thank you for asking the questions that motivated me into improving brew update behaviour!

@boblail
Copy link
Contributor

boblail commented Jun 13, 2022

@MikeMcQuaid, sorry, I was AFK while moving!

👍 These changes work for me!

@MikeMcQuaid
Copy link
Member Author

@boblail Hope the move went well, glad you're OK with these changes!

@github-actions github-actions bot added the outdated PR was locked due to age label Jul 15, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants